package com.gem.eolane.config;

import com.gem.eolane.dialect.PcbDialect;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 注册方言
 */
@Configuration
public class DialectConfig {
    @Bean
    @ConditionalOnMissingBean
    public PcbDialect pcbDialect() {
        return new PcbDialect("Dict Dialect");
    }

}
